package com.yidu.ladder.base.domain;

import java.io.Serializable;

public class RipareaStaff implements Serializable{

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -7644569870466885683L;
	/**
	 * 定区职员Id
	 */
	private String ripAreaStaffId;
	/**
	 * 定区Id
	 */
	private String ripAreaId;
	/**
	 * 定区名
	 */
	private String ripAreaName;
	/**
	 * 职员Id
	 */
	private String staffId;
	/**
	 * 职员名
	 */
	private String staffName;

	public RipareaStaff() {
		super();
	}

	public RipareaStaff(String ripAreaStaffId, String ripAreaId, String ripAreaName, String staffId, String staffName) {
		super();
		this.ripAreaStaffId = ripAreaStaffId;
		this.ripAreaId = ripAreaId;
		this.ripAreaName = ripAreaName;
		this.staffId = staffId;
		this.staffName = staffName;
	}

	public String getRipAreaStaffId() {
		return ripAreaStaffId;
	}

	public void setRipAreaStaffId(String ripAreaStaffId) {
		this.ripAreaStaffId = ripAreaStaffId;
	}

	public String getRipAreaId() {
		return ripAreaId;
	}

	public void setRipAreaId(String ripAreaId) {
		this.ripAreaId = ripAreaId;
	}

	public String getRipAreaName() {
		return ripAreaName;
	}

	public void setRipAreaName(String ripAreaName) {
		this.ripAreaName = ripAreaName;
	}

	public String getStaffId() {
		return staffId;
	}

	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}

	public String getStaffName() {
		return staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((ripAreaId == null) ? 0 : ripAreaId.hashCode());
		result = prime * result + ((ripAreaName == null) ? 0 : ripAreaName.hashCode());
		result = prime * result + ((ripAreaStaffId == null) ? 0 : ripAreaStaffId.hashCode());
		result = prime * result + ((staffId == null) ? 0 : staffId.hashCode());
		result = prime * result + ((staffName == null) ? 0 : staffName.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		RipareaStaff other = (RipareaStaff) obj;
		if (ripAreaId == null) {
			if (other.ripAreaId != null)
				return false;
		} else if (!ripAreaId.equals(other.ripAreaId))
			return false;
		if (ripAreaName == null) {
			if (other.ripAreaName != null)
				return false;
		} else if (!ripAreaName.equals(other.ripAreaName))
			return false;
		if (ripAreaStaffId == null) {
			if (other.ripAreaStaffId != null)
				return false;
		} else if (!ripAreaStaffId.equals(other.ripAreaStaffId))
			return false;
		if (staffId == null) {
			if (other.staffId != null)
				return false;
		} else if (!staffId.equals(other.staffId))
			return false;
		if (staffName == null) {
			if (other.staffName != null)
				return false;
		} else if (!staffName.equals(other.staffName))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "RipareaStaff [ripAreaStaffId=" + ripAreaStaffId + ", ripAreaId=" + ripAreaId + ", ripAreaName="
				+ ripAreaName + ", staffId=" + staffId + ", staffName=" + staffName + "]";
	}
	
	

}
